
using System.Windows.Forms;

namespace AntdUI_APPDemo.Controls
{
    public partial class Badge : UserControl
    {
        Form form;
        public Badge(Form _form)
        {
            form = _form;
            InitializeComponent();
        }

        private void button5_Click(object sender, System.EventArgs e)
        {
            button4.Enabled = false;
            AntdUI.ITask.Run(() =>
            {
                System.Threading.Thread.Sleep(2000);
                button4.Enabled = true;
            });
        }
    }
}